package com.example.rule.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "规则保存请求参数")
public class RuleSaveDTO {

    @Schema(description = "规则名称")
    private String name;

    @Schema(description = "规则触发值，用于条件入参", example = "15")
    private Double data;

    @Schema(description = "逻辑连接符，例如：全部满足、任意满足、全不满足", example = "任意满足")
    private String logicDesc;

    @Schema(description = "条件数量", example = "2")
    private Integer conditionNum;



}
